package src.com.foreknow.demo13;

import com.sun.org.apache.xpath.internal.operations.Or;

/**
 * 订单项 OrderItem
 */
public class OrderItem {
    private String pname;//书名
    private double pprice;//书单价
    private int num;//购买数量

    public OrderItem(String pname,double pprice,int num){
        this.pname = pname;
        this.pprice = pprice;
        this.num = num;

    }
    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getPprice() {
        return pprice;
    }

    public void setPprice(double pprice) {
        this.pprice = pprice;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }



}







